package com.top4create.face;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import com.top4create.R;

public class FavourateSell extends Activity {
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
//        setContentView(R.attr.class);
    }

    static final private int MENU_ITEM = Menu.FIRST;
    static final private String  MENU_MAIN_TEXT1 ="menu1";
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
// Group ID
        int groupId = 0;
// Unique menu item identifier. Used for event handling.
        int menuItemId = MENU_ITEM;
// The order position of the item
        int menuItemOrder = Menu.NONE;
// Text to be displayed for this menu item.
        String  menuItemText =MENU_MAIN_TEXT1;
// Create the menu item and keep a reference to it.
        MenuItem menuItem = menu.add(groupId, menuItemId,
                menuItemOrder, menuItemText);
        return true;
    }
}
